package edu.whu.springdatademo.entity;

import lombok.*;
import org.hibernate.Hibernate;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity(name = "t_pro")
public class Product {
    @Id
    Integer id;
    String name;
    Double price;
    Integer count;
    Integer sales;
}
